package com.neusoft.neu24.myproxy;

public class BusStation implements   SellTickets{
    public void sell() {
        System.out.println("汽车站站卖票");
    }

    public static void main(String[] args) {
        BusStation station = new BusStation();
        ProxyFactory factory = new ProxyFactory( );
        factory.setStation(station);
        SellTickets proxyObject = factory.getProxyObject();
        proxyObject.sell();
    }
}
